<%@ page language="java" import="java.util.*" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@include file="/inc/taglibs.jsp" %>
<%@include file="/inc/js.jsp" %>

<style>
.nolooked{font-weight:bold;}
</style>
<script>
$(function (){
	initQueryForm();
});
</script>

<c:if test="${stat=='F' }">
${msg_error }
</c:if>

<c:if test="${stat=='S' }">
<form id="form1" action="${path }/downloadurl/list" method="post" onsubmit="return pageSeach(this);">
<c:set var="formId" value="form1"/>
<table class="listtable" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>标题</th>
<th>查看</th>
<th>下载</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3">
<c:if test="${dataLength==0 }">
今天没有搜索到信息。
</c:if>
<c:if test="${dataLength>0 }">
今天为你搜索到${dataLength}条信息。
</c:if>
</td>
</tr>
<c:forEach items="${dataList }" var="item" varStatus="stat">
<tr>
<td><a href="${item.url }" target="_blank">${item.title}</a></td>
<td>
<a href="../download/${item.id}/${item.id}.htm" target="_blank">查看</a>
</td>
<td>
<a href="${path}/downloadurl/download/${item.id}"  target="_self">下载</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</form>
</c:if>
